#pragma once

#include <maya/MString.h>

// Represents a class that parses COLLADA exporter options.
class ColladaExporterOptions
{
public:
	// Constructor.
	//		optionsString: the string containing the options.
	ColladaExporterOptions(const MString& optionsString);

	MString		m_Keywords;		// Keywords.
	MString		m_Revision;		// Revision.
	MString		m_Subject;		// Subject.
	MString		m_Title;		// Title.

private:
	// Called by the constructor when it encounters an option in the options string.
	void SetOption(const MString& name, const MString& value)
	{
		if (name == "keywords") m_Keywords = value;
		else if (name == "revision") m_Revision = value;
		else if (name == "subject") m_Subject = value;
		else if (name == "title") m_Title = value;
	}
};